package com.plian.system.entity.pf;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Author: Take-off
 * @Description: TODO
 * @Date: 2022/12/15 10:49 AM
 * @Version: 1.0
 **/
@Data
@TableName("pf_main_audit")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MainAudit 对象", description = "考核国资审核-主责主业")
public class MainAudit extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主表id")
    private Long baseBusinessAuditId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主责主业表id")
    private Long mainBusinessId;

    @ApiModelProperty(value = "国资审核情况")
    private String auditSituation;

    @ApiModelProperty(value = "国资审核而分项得分" )
    private BigDecimal auditScore;

    @TableField(exist = false)
    @ApiModelProperty(value = "第三方指标id")
    private String indicatorsCodeId;

}
